package org.zachary.agent.domain.aggregate_model.token;

import lombok.Data;

@Data
public class RedisTokenEntity {
    private String tokenId;
    private String token;
    private long expires;
    private TokenStatus status;
    public RedisTokenEntity(String tokenId, String token, long expires, TokenStatus status) {
        this.tokenId = tokenId;
        this.token = token;
        this.expires = expires;
        this.status = status;
    }
}
